.dialog {
    position: fixed;
    align-self: center;
    z-index: 999;
}
